package com.example.easybuy.service;

import com.example.easybuy.entity.Like;
import com.example.easybuy.util.AjaxResult;

import java.util.List;
import java.util.Map;

public interface LikeService {
    AjaxResult addCollection(Like collection, String loginName);

    List<Like> getLikes(String loginName);

    boolean delAll(String loginName);

    boolean delLike(int productId,String loginName);
}